package com.ltsh.fim.client.model;

/**
 *
 * @author tanyaowu
 */
public class ShowcasePacket extends Packet {
	private static final long serialVersionUID = -5481926483435771100L;
	/**
	 * 消息类型，其值在org.tio.examples.showcase.common.Type中定义
	 */
	private byte type;
	/**
	 * 发送类型,0:客户端,1:服务端
	 */
	private byte sendType;

	private byte[] body;

	public ShowcasePacket() {
		super();
	}

	public byte getSendType() {
		return sendType;
	}

	public void setSendType(byte sendType) {
		this.sendType = sendType;
	}

	public byte getType() {
		return type;
	}

	public void setType(byte type) {
		this.type = type;
	}

	/**
	 * @return the body
	 */
	public byte[] getBody() {
		return body;
	}

	/**
	 * @param body the body to set
	 */
	public void setBody(byte[] body) {
		this.body = body;
	}

}
